package com.audi.box.service;

import java.util.ArrayList;

import com.audi.dto.SmartTriggerTriggerItem;

public interface SmartTriggerTriggerService {
    public int addSmartTriggerTrigger(SmartTriggerTriggerItem trigger);
    
    public int updateSmartTriggerTrigger(SmartTriggerTriggerItem trigger);
    
    public boolean isExist(SmartTriggerTriggerItem trigger);
    
    public ArrayList<SmartTriggerTriggerItem> getListSmartTriggerTrigger();
    
    public SmartTriggerTriggerItem getSmartTrigger(int triggerId);
    
    public int getDeviceValueFromTrigger(SmartTriggerTriggerItem trigger);
    
    public int deleteSmartTriggerTrigger(SmartTriggerTriggerItem trigger);
}
